package com.wwy.order.convent;


import com.common.domain.PageResult;
import com.wwy.order.domain.ReportOrder;
import com.wwy.order.domain.vo.ReportOrderRespVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author 王伟羽
 * @date 2024/12/16 9:22
 */
@Mapper
public interface ReportOrderConvert {

    ReportOrderConvert INSTANCE = Mappers.getMapper(ReportOrderConvert.class);

    ReportOrderRespVo convert(ReportOrder bean);

    PageResult<ReportOrderRespVo> convertPage(PageResult<ReportOrder> page);
}
